ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ MAP - Memory map for DOS ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ This code is copyright (C) 1992, 1994 Sulyok Peter. It is placed in the PUBLIC DOMAIN for non-commercial use, without fee. Share and enjoy it. WHAT IS IT ? ------------ This program makes memory map (ie. some different kind of list of memory blocks) under DOS. I hate the MEM command of MSDOS that is why I made this program. It is useful when you try to optimize your memory usage and you want to get detail information about it. I tested it under MS-DOS 5.x and 6.x and Novell DOS 7.0. COMMAND LINE SYNTAX ------------------- Use -h option to get some information about it. You will see the next text : MAP 2.0, memory map utility, Sulyok Peter (C) 1992,1994. Usage: MAP [-option ...] Options: -n list of programs in normal memory (default) -u list of programs in normal and upper memory -f full list of memory blocks -d list of device drivers -x XMS report -e EMS report -h,? this text LIST OF NORMAL MEMORY (-n) -------------------------- In the list of normal memory you can see : - installed device drivers - installed programs - size of free memory in normal memory. The tabulated names are (QEMM386, KBDBUF, DPMS) components of the previous DOS block. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ mcb size name type ³ ÃÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ 0112 ³ 2512 ³ DOS ³ system data ³ ³ 0114 ³ 768 ³ QEMM386 ³ device driver ³ ³ 0145 ³ 144 ³ KBDBUF ³ device driver ³ ³ 014f ³ 1552 ³ DPMS ³ device driver ³ ³ 01b0 ³ 0 ³ DOS ³ system code ³ ³ 01b1 ³ 64 ³ DOS ³ system code ³ ³ 01bb ³ 256 ³ NDOS ³ program ³ ³ 0ebb ³ 647232 ³ ³ free ³ ÃÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ 4833280 bytes free EMS memory ³ ³ 4800512 bytes free XMS memory ³ ³ 20544 bytes free upper memory ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ At the end of list you can see the size of free EMS, XMS and upper memory. LIST OF NORMAL AND UPPER MEMORY (-u) ------------------------------------ This list is same like the previous list but it is expanded with the list of programs in upper memory. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ mcb size name type ³ ÃÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ 0112 ³ 2512 ³ DOS ³ system data ³ Ä¿ ³ 0114 ³ 768 ³ QEMM386 ³ device driver ³ ³ ³ 0145 ³ 144 ³ KBDBUF ³ device driver ³ ³ ³ 014f ³ 1552 ³ DPMS ³ device driver ³ ³ Normal ³ 01b0 ³ 0 ³ DOS ³ system code ³ ³ memory ³ 01b1 ³ 64 ³ DOS ³ system code ³ ³ ³ 01bb ³ 256 ³ NDOS ³ program ³ ³ ³ 0ebb ³ 647232 ³ ³ free ³ ÄÙ ³ 9fff ³ 166608 ³ DOS ³ system code ³ Ä¿ ³ c8ad ³ 208 ³ DOS-UP ³ program ³ ³ ³ c8bb ³ 5536 ³ DOSDATA ³ program ³ ³ ³ ca16 ³ 57872 ³ DOS ³ system data ³ ³ ³ ca18 ³ 2096 ³ QDPMI ³ device driver ³ ³ ³ ca9c ³ 24304 ³ STACHIGH ³ device driver ³ ³ ³ d08c ³ 1312 ³ DC2000 ³ device driver ³ ³ ³ d0df ³ 544 ³ SETVER ³ device driver ³ ³ ³ d102 ³ 224 ³ HKEY ³ device driver ³ ³ ³ d111 ³ 29296 ³ NCACHE2 ³ device driver ³ ³ ³ d838 ³ 3264 ³ FILES ³ program ³ ³ Upper ³ d905 ³ 960 ³ FCBS ³ program ³ ³ memory ³ d942 ³ 512 ³ WKBUFFER ³ program ³ ³ ³ d963 ³ 2288 ³ LASTDRIV ³ program ³ ³ ³ d9f3 ³ 3008 ³ STACKS ³ program ³ ³ ³ dab0 ³ 144 ³ INSTALL ³ program ³ ³ ³ dc2e ³ 5232 ³ SHARE ³ program ³ ³ ³ dda7 ³ 17616 ³ GMOUSE ³ program ³ ³ ³ e1f5 ³ 4144 ³ RF34 ³ program ³ ³ ³ e2f9 ³ 1664 ³ ³ free ³ ³ ³ e362 ³ 2048 ³ ³ free ³ ³ ³ e3e3 ³ 16832 ³ ³ free ³ ÄÄÙ ÃÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ 4833280 bytes free EMS memory ³ ³ 4800512 bytes free XMS memory ³ ³ 20544 bytes free upper memory ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ FULL LIST OF MEMORY BLOCKS (-f) ------------------------------- This is a detail list of memory block in your machine. You can see all MCB in list and its interrupt vectors too. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ mcb size name type interrupt vectors ³ ÃÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ 0112 ³ 2512 ³ DOS ³ system data ³ ³ ³ 0114 ³ 768 ³ QEMM386 ³ device driver ³ ³ ³ 0145 ³ 144 ³ KBDBUF ³ device driver ³ ³ ³ 014f ³ 1552 ³ DPMS ³ device driver ³ fb ³ ³ 01b0 ³ 0 ³ DOS ³ system code ³ ³ ³ 01b1 ³ 64 ³ DOS ³ system code ³ 19 ³ ³ 01b6 ³ 64 ³ NDOS ³ data area ³ ³ ³ 01bb ³ 256 ³ NDOS ³ program ³ ³ ³ 0ebb ³ 647232 ³ ³ free ³ ea ec ef f4 f9 fc fd fe ³ ³ 9fff ³ 166608 ³ DOS ³ system code ³ 1f 43 4b 67 6d e9 ³ ³ c8ad ³ 208 ³ DOS-UP ³ program ³ ³ ³ c8bb ³ 5536 ³ DOSDATA ³ program ³ ³ ³ ca16 ³ 57872 ³ DOS ³ system data ³ ³ ³ ca18 ³ 2096 ³ QDPMI ³ device driver ³ ³ ³ ca9c ³ 24304 ³ STACHIGH ³ device driver ³ ³ ³ d08c ³ 1312 ³ DC2000 ³ device driver ³ ³ ³ d0df ³ 544 ³ SETVER ³ device driver ³ ³ ³ d102 ³ 224 ³ HKEY ³ device driver ³ ³ ³ d111 ³ 29296 ³ NCACHE2 ³ device driver ³ 13 15 21 28 ³ ³ d838 ³ 3264 ³ FILES ³ program ³ ³ ³ d905 ³ 960 ³ FCBS ³ program ³ ³ ³ d942 ³ 512 ³ WKBUFFER ³ program ³ ³ ³ d963 ³ 2288 ³ LASTDRIV ³ program ³ ³ ³ d9f3 ³ 3008 ³ STACKS ³ program ³ 02 08 09 0a 0b 0d 0e 70 72 ³ ³ ³ ³ ³ ³ 73 74 76 ³ ³ dab0 ³ 144 ³ INSTALL ³ program ³ ³ ³ daba ³ 3104 ³ NDOS ³ data area ³ 22 23 24 2e ³ ³ db7d ³ 2048 ³ NDOS ³ environment ³ ³ ³ dbfe ³ 752 ³ RF34 ³ environment ³ ³ ³ dc2e ³ 5232 ³ SHARE ³ program ³ ³ ³ dd76 ³ 768 ³ GMOUSE ³ environment ³ ³ ³ dda7 ³ 17616 ³ GMOUSE ³ program ³ 0c 2f 33 ³ ³ e1f5 ³ 4144 ³ RF34 ³ program ³ 10 ³ ³ e2f9 ³ 1664 ³ ³ free ³ ³ ³ e362 ³ 2048 ³ ³ free ³ ³ ³ e3e3 ³ 16832 ³ ³ free ³ ³ ÀÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ LIST OF DEVICE DRIVERS (-d) --------------------------- In this list you can see the list of installed device drivers and its program name (if it is). ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ address attr name program ³ ÃÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄ´ ³ C8BC:0048 ³ 8004 ³ NUL ³ ³ ³ D111:0000 ³ c004 ³ @CACHE-X ³ NCACHE2 ³ ³ D111:008A ³ c800 ³ SMARTAAR ³ NCACHE2 ³ ³ D102:0000 ³ 8000 ³ HKEY$$$$ ³ HKEY ³ ³ D0DF:0000 ³ 8000 ³ SETVERXX ³ SETVER ³ ³ D08C:0000 ³ 8010 ³ PTI ³ DC2000 ³ ³ CA9C:0000 ³ 8000 ³ _STAC_HI ³ STACHIGH ³ ³ 014F:0000 ³ 8000 ³ DPMSXXX0 ³ DPMS ³ ³ CA18:0000 ³ 8000 ³ QDPMI$$$ ³ QDPMI ³ ³ 0145:0000 ³ 8000 ³ KBD$BUF$ ³ KBDBUF ³ ³ 0114:0000 ³ c000 ³ QEMM386$ ³ QEMM386 ³ ³ C801:0000 ³ c000 ³ EMMXXXX0 ³ ³ ³ 0108:0000 ³ 4842 ³ F: ³ ³ ³ 0070:0023 ³ 8013 ³ CON ³ ³ ³ 0070:0035 ³ 8000 ³ AUX ³ ³ ³ 0070:0047 ³ a0c0 ³ PRN ³ ³ ³ 0070:0059 ³ 8008 ³ CLOCK$ ³ ³ ³ 0070:006B ³ 08c2 ³ ³ ³ ³ 0070:007B ³ 8000 ³ COM1 ³ ³ ³ 0070:008D ³ a0c0 ³ LPT1 ³ ³ ³ 0070:009F ³ a0c0 ³ LPT2 ³ ³ ³ 0070:00B8 ³ a0c0 ³ LPT3 ³ ³ ³ 0070:00CA ³ 8000 ³ COM2 ³ ³ ³ 0070:00DC ³ 8000 ³ COM3 ³ ³ ³ 0070:00EE ³ 8000 ³ COM4 ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÙ XMS REPORT (-x) --------------- In this report you can see information about XMS memory. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ XMS driver version 3.0 ³ ³ HMA state exists ³ ³ A20 line state enabled ³ ³ Free XMS memory 4800512 bytes ³ ³ Largest free XMS block 4833280 bytes ³ ³ Free handles 60 ³ ³ ³ ³ Block Handle Size Locks ³ ³ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ³ ³ 0 2 100352 0 ³ ³ 1 3 2097152 0 ³ ³ ³ ³ Free upper memory 20544 bytes ³ ³ Largest upper block 16832 bytes ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ EMS REPORT (-e) --------------- In this report you can see information about EMS memory. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ EMS driver version 4.0 ³ ³ EMS page frame E800 ³ ³ Total EMS memory 7946240 bytes ³ ³ Free EMS memory 4833280 bytes ³ ³ Total handles 64 ³ ³ Free handles 60 ³ ³ ³ ³ Handle Pages Size Name ³ ³ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ³ ³ 0 39 638976 SYSTEM ³ ³ 1 4 65536 HMA ³ ³ 2 7 114688 EMB2 ³ ³ 3 128 2097152 EMB3 ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ AUTHOR ------ If you have some question or suggestion about it you don't hesitate to write to author. But please don't ask from me "What is the XMS memory ?" and other silly questions. E-mail address: sulyok@math.klte.hu